{% extends 'base.html' %}

{% block title %}修改资料 - {{ super() }}{% endblock %}

{% block content %}
<form action="" method="post" enctype="multipart/form-data">
    <br>所有不需要修改的项留空即可<br><br>
    <table>
        <tr>
            <td>原密码：</td>
            <td><input type="password" name="old_password"></td>
        </tr>
        <tr>
            <td>新密码：</td>
            <td><input type="password" name="password" maxlength="20"></td>
        </tr>
        <tr>
            <td>新密码确认：</td>
            <td><input type="password" name="password_confirm" maxlength="20"></td>
        </tr>
        <tr>
            <td>头像：</td>
            <td><input type="file" name="face"></td>
        </tr>
        <tr><td></td><td><input type="submit" value="修改"></td></tr>
    </table>
</form>
{% endblock %}